package com.example.mylearn.proxy.learn.once.dynamicProxy.jdkProxy;

import com.example.mylearn.proxy.learn.once.staticProxy.CallKafkaService;
import com.example.mylearn.proxy.learn.once.staticProxy.CallKafkaServiceImpl;

public class JdkExample {


    public static void main(String[] args) {

        final CallKafkaService proxy = (CallKafkaService) CallKafkaFactory.getProxy(new CallKafkaServiceImpl());
        proxy.call();
    }


}
